< previous page page_357 next page >

Page 357
8160-0357a.gif
Figure 18.6
Bookmark icons on the Edit toolbar.
You can continue placing as many bookmarks as you want in a project. You can then use the Next and Previous Bookmark icons to move from one to the other. Note that you cannot save bookmarks. When you close the Visual Basic development environment, all the bookmarks will be erased.
Form Editing Tips and Tricks
As is the case when using the code window, you have some tips and tricks available to help speed up your development time when creating your user interface.
Setting the Font Property
If you set the Font property on a form prior to adding controls to the form, all the controls you add will inherit the font style for that form. This speeds up the process of making the fonts the same for all of your controls.
Setting the TabIndex Property
The TabIndex property is used to set the order in which the Tab key moves from one field to the next on a form. The lowest number is where the cursor starts on a form. Numbering continues sequentially until the last control is reached.
The easiest way to set the TabIndex property is to start with the control thats to be the last one in the tab order. Click this control and go to the Property window. Place a zero in TabIndex and press Enter. Now click the next-to-last control and enter zero. Continue this process until you finish with the first control.
Visual Basic automatically renumbers the TabIndex property if you enter a value for one control that already exists for another control. It assumes you want the current control to come before the previous one, so it renumbers all other controls starting with one greater than the value you just entered.

 
< previous page page_357 next page >

If you like this book, buy it!